<template>
	<view class="search-box">
		<text class="iconfont"></text>
		<input type="text" class="input" :placeholder="placeholder" />
	</view>
</template>

<script>
	export default {
		data() {
			return {};
		},
		props: {
			placeholder: {
				type: String,
				default: '请输入搜索内容'
			}
		},
		created() {},
		mounted() {},
		methods: {},
		computed: {},
		watch: {},

	}
</script>

<style lang="scss" scoped>
	.search-box {
		width: 100%;
		height: 100%;
		display: flex;
		align-items: center;


		// input {
		// 	flex: 1;
		// 	height: 100%;
		// 	font-size: 28rpx;
		// 	color: #999;
		// 	background-color: #999fff;
		// }

		.input {
			width: 710rpx;
			height: 80rpx;
			border-radius: 12rpx;
			background-color: #999fff;
			padding: 0 8rpx;
		}

		.iconfont {
			font-size: 28rpx;
			color: #999;
		}
	}
</style>